/**
 * Created by Administrator on 2018/9/4 0004.
 * 可以将枚举信息都放在这里
 */

/**
 * http请求返回的状态码枚举
 */
export enum HttpCodesEnum {
  Success = '0000', //返回成功
  logout = '9001', //已退出登录
}

/**
 *获取枚举信息的传入状态码枚举
 */
export enum Enums {
  yn = 1001,//是否
  activePoolState = 1002,//激活币池状态
  jlbOreLogType = 1003,//金兰宝矿石转账记录状态
  jlbOreLogEvent = 1004,//金兰宝矿石转账记录事件
  minerItemState = 1005,//矿机状态
  minerPayType = 1006,//支付方式
  newsState = 1007,//新闻公告的状态
  platformAccountState = 1008,//平台账户状态
  userState = 1009,//用户的状态
  userDepositState = 1010,//用户押金的状态
  userJlbState = 1011,//金兰宝账户状态
  userMinerState = 1012,//用户矿机状态
  userMinerWorkRecordState = 1013,//矿机挖金兰宝记录状态
  userOreState = 1014,//矿石账户状态
  userPurchaseMinerRecordState = 1015,//购买矿机记录状态
  TransferType = 1016,//金兰宝转账类型
  RechargeType = 1017,//充值类型
  userType = 1018,//用户类型
}

export enum UserStates {
  delete = 'Delete',//删除
  active = 'Active',//激活
  frozen = 'Frozen',//冻结
}

export enum UserTypes {
  leader = 'Leader',
  member = 'Member',
  areaManager = 'AreaManager',
}

export enum UserDepositStates {
  returnable = 'Returnable',//可返还
  frozen = 'Frozen',//冻结
  returned = 'Returned',//已返还
}

export enum NewsStates {
  draft = 'Draft',//草稿
  released = 'Released',//已发布
  delete = 'Delete',//已删除
}

export enum States {
  enable = 'Enable',//启用
  disable = 'Disable',//禁用
}

export enum YesOrNo {
  yes = 'Y',//是
  no = 'N',//否
}

export enum JlbAccountState {
  active = 'Active',//激活
  frozen = 'Frozen',//冻结
}

export enum OreAccountState {
  active = 'Active',//激活
  stop = 'Stop',//停止
}

//矿机状态
export enum MinerStates {
  audit = 'Audit',//待上架
  sales = 'Sales',//销售中
  withdraw = 'Withdraw',//已下架
}

//激活币状态
export enum ActiveStates {
  used = 'Used',//已使用
  received = 'Received',//已转出
  normal = 'Normal',//正常
}

//用户矿机状态
export enum UserMinerState {
  working = 'Working',//工作中
  stop = 'Stop',//已停机
}

export enum UserMinerWorkRecordStates {
  digIn = 'Dig_In',//挖掘中
  digOut = 'Dig_Out',//已挖出
  init = 'Init',//初始化
  recorded = 'Recorded'//已入账
}
